$(function () {
    $("#btn").on("click",function () {
       var e = jQuery.Event("MyEvent");
       $("#btn").trigger(e);
    });

    $("#btn").on("MyEvent",function (e){
        conlog(e);
    })
});
function conlog(e) {
    console.log(e);
};